<template>
  <div class="tance">
    <el-dialog
      v-model="dialogTableVisible"
      title="开辟和发展中国特色社会主义的必由之路"
      width="80%"
    >
      <div v-if="!imgs1" class="dialog-12">1</div>
      <div v-else><img :src="imgs1" /></div>
    </el-dialog>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
const dialogTableVisible = ref(false)
defineExpose({
  dialogTableVisible
})
defineProps<{
  imgs1?: string
}>()
</script>

<style lang="scss" scoped>
.tance {
  .dialog-12 {
    width: 100%;
    height: 650px;
    background: #332424;
    border-radius: 8px;
  }
  ::v-deep .el-dialog {
    background: #240c05;
    box-shadow:
      0px 0px 10px 0px #420909,
      inset 0px 0px 15px 0px #ffcc66;
    border-radius: 10px;
  }
  ::v-deep .el-dialog__title {
    background-image: url('../assets/dancen/y-1.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-size: 16px;
    font-family: SourceHanSansCN-Bold, SourceHanSansCN;
    font-weight: bold;
    color: #ffffff;
    line-height: 60px;
    /* text-align: center; */
    padding: 0 30px;
    letter-spacing: 2px;
    height: 60px;
    display: block;
  }
}
</style>
